import moment from 'moment'
moment.locale('zh-cn')
export const timeAgo = targetDate => {
  return moment(targetDate).fromNow()
}
